<?php
namespace App\Http\Queries;

use App\Models\GoodsCategory;
use Illuminate\Http\Request;
use Spatie\QueryBuilder\QueryBuilder;
use Spatie\QueryBuilder\AllowedFilter;

class GoodsCategoryQuery extends QueryBuilder
{
    public function __construct()
    {
        parent::__construct(GoodsCategory::query()->orderBy("order_number","desc"));

    }
}
